//
//  MainViewController.m
//  UodorBlog
//
//  Created by Samuel on 12/25/14.
//
//

#import "MainViewController.h"

@interface MainViewController ()

@end

@implementation MainViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    UIButton *lButton = [self setDefaultLeftButton];
     [lButton addTarget:self action:@selector(AcitonForLeft:) forControlEvents:UIControlEventTouchDown];
    
    UIButton *rButton = [self setDefaultRightButton];
    [rButton addTarget:self action:@selector(AcitonForRight:) forControlEvents:UIControlEventTouchDown];
}
- (void)AcitonForLeft:(UIButton*)sender
{
    [[MainViewSleton sharedInstance].LSVC showLeftViewController:YES];
}
- (void)AcitonForRight:(UIButton*)sender
{
    [[MainViewSleton sharedInstance].LSVC showRightViewController:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
